//
//  ChangePwdRequest.m
//  HouseWork
//
//  Created by 物恋网 on 16/8/15.
//  Copyright © 2016年 wlw. All rights reserved.
//

#import "ChangePwdRequest.h"

@implementation ChangePwdRequest
-(NSDictionary* )genRequestParagram
{
    
    NSMutableDictionary *paraDic = [[NSMutableDictionary alloc] init];
    if (self.password) {
        [paraDic setObject:self.password forKey:@"password"];
    }
    if (self.npassword) {
        [paraDic setObject:self.npassword forKey:@"new_password"];
    }
    if (self.user_id) {
         [paraDic setObject:self.user_id forKey:@"user_id"];
    }
    return paraDic;
    
}
-(NSString *)genRequestUrl
{
    return  @"/user/password";
}
@end
